latestOpenAPI 3.1.02026-07-14159142161.9 KB

c3f48fd1c26b

filesService

Lists the file info

Lists the file info

get/files/v1/files?entityIds[]

Query parameters

entityType'comment' | 'post' | 'task'

Entity type name

entityIdsinteger[] required

Use this parameter instead of entityId to list files for multiple entities at once. The response differs in this case.

Response

Successful response

Example response

{
  "data": {
    "entityId": [
      {
        "id": 1,
        "entityType": "post",
        "entityId": 1,
        "uploadId": "369c4620-adee-4526-a0d8-a1db20bcf5b2",
        "originalFilename": "sample.jpg",
        "lastModified": 1664629542,
        "size": 123456,
        "url": "https://aws.s3.amazonaws.com/my-bucket/61/dd/61ddc0045c05ba7537b63e63184b9203.jpg"
      }
    ]
  }
}